package com.bai.li;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by Admin on 9/17 0017.
 */
public class Main {
    public static void main(String[] args) {
        ApplicationContext con=new ClassPathXmlApplicationContext("application.xml");
        Shu shu= con.getBean(Shu.class);
        System.out.println(shu.getClass().getName());
        int result=shu.add(3,4);
        System.out.println("result:"+result);
    }
}
